package com.shijunhao.graduation.domain.dto;

import com.shijunhao.graduation.annotations.WrapperCondition;
import com.shijunhao.graduation.enums.SqlSymbol;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/3/5 17:59
 * @description:
 */
@ApiModel("字典查询实体")
public class SystemDictQueryDto {

    @ApiModelProperty(name="主键",example = "1")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private Long id;

    @ApiModelProperty("字典编码")
    @WrapperCondition(condition = SqlSymbol.EQ)
    private String code;

    @ApiModelProperty("字典名称")
    @WrapperCondition(condition = SqlSymbol.LIKE)
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
